package com.devicemantra.coordinate.tasks;

import java.io.IOException;
import java.util.Date;

import javax.servlet.http.*;

@SuppressWarnings("serial")
public class DmTask extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		System.out.println("Task executing now");
	}
	
	public void doPost(HttpServletRequest req, HttpServletResponse resp)
	throws IOException {
			System.out.println("Executing task at " + new Date());
			System.out.println("Parameters : " + req.getParameter("email_address") + " " + "Mobile number " + req.getParameter("mobile_number"));
}
}
